Optimal. Leaf size=146 \[ \frac {35 e^2 (b d-a e) \sqrt {d+e x}}{4 b^4}+\frac {35 e^2 (d+e x)^{3/2}}{12 b^3}-\frac {7 e (d+e x)^{5/2}}{4 b^2 (a+b x)}-\frac {(d+e x)^{7/2}}{2 b (a+b x)^2}-\frac {35 e^2 (b d-a e)^{3/2} \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {d+e x}}{\sqrt {b d-a e}}\right )}{4 b^{9/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 146, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 5, integrand size = 33, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.152, Rules used = {27, 43, 52, 65,
214} \begin {gather*} -\frac {35 e^2 (b d-a e)^{3/2} \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {d+e x}}{\sqrt {b d-a e}}\right )}{4 b^{9/2}}+\frac {35 e^2 \sqrt {d+e x} (b d-a e)}{4 b^4}-\frac {7 e (d+e x)^{5/2}}{4 b^2 (a+b x)}-\frac {(d+e x)^{7/2}}{2 b (a+b x)^2}+\frac {35 e^2 (d+e x)^{3/2}}{12 b^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 27
Rule 43
Rule 52
Rule 65
Rule 214
Rubi steps
\begin {align*} \int \frac {(a+b x) (d+e x)^{7/2}}{\left (a^2+2 a b x+b^2 x^2\right )^2} \, dx &=\int \frac {(d+e x)^{7/2}}{(a+b x)^3} \, dx\\ &=-\frac {(d+e x)^{7/2}}{2 b (a+b x)^2}+\frac {(7 e) \int \frac {(d+e x)^{5/2}}{(a+b x)^2} \, dx}{4 b}\\ &=-\frac {7 e (d+e x)^{5/2}}{4 b^2 (a+b x)}-\frac {(d+e x)^{7/2}}{2 b (a+b x)^2}+\frac {\left (35 e^2\right ) \int \frac {(d+e x)^{3/2}}{a+b x} \, dx}{8 b^2}\\ &=\frac {35 e^2 (d+e x)^{3/2}}{12 b^3}-\frac {7 e (d+e x)^{5/2}}{4 b^2 (a+b x)}-\frac {(d+e x)^{7/2}}{2 b (a+b x)^2}+\frac {\left (35 e^2 (b d-a e)\right ) \int \frac {\sqrt {d+e x}}{a+b x} \, dx}{8 b^3}\\ &=\frac {35 e^2 (b d-a e) \sqrt {d+e x}}{4 b^4}+\frac {35 e^2 (d+e x)^{3/2}}{12 b^3}-\frac {7 e (d+e x)^{5/2}}{4 b^2 (a+b x)}-\frac {(d+e x)^{7/2}}{2 b (a+b x)^2}+\frac {\left (35 e^2 (b d-a e)^2\right ) \int \frac {1}{(a+b x) \sqrt {d+e x}} \, dx}{8 b^4}\\ &=\frac {35 e^2 (b d-a e) \sqrt {d+e x}}{4 b^4}+\frac {35 e^2 (d+e x)^{3/2}}{12 b^3}-\frac {7 e (d+e x)^{5/2}}{4 b^2 (a+b x)}-\frac {(d+e x)^{7/2}}{2 b (a+b x)^2}+\frac {\left (35 e (b d-a e)^2\right ) \text {Subst}\left (\int \frac {1}{a-\frac {b d}{e}+\frac {b x^2}{e}} \, dx,x,\sqrt {d+e x}\right )}{4 b^4}\\ &=\frac {35 e^2 (b d-a e) \sqrt {d+e x}}{4 b^4}+\frac {35 e^2 (d+e x)^{3/2}}{12 b^3}-\frac {7 e (d+e x)^{5/2}}{4 b^2 (a+b x)}-\frac {(d+e x)^{7/2}}{2 b (a+b x)^2}-\frac {35 e^2 (b d-a e)^{3/2} \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {d+e x}}{\sqrt {b d-a e}}\right )}{4 b^{9/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.09, size = 162, normalized size = 1.11 \begin {gather*} -\frac {\sqrt {d+e x} \left (105 a^3 e^3+35 a^2 b e^2 (-4 d+5 e x)+7 a b^2 e \left (3 d^2-34 d e x+8 e^2 x^2\right )+b^3 \left (6 d^3+39 d^2 e x-80 d e^2 x^2-8 e^3 x^3\right )\right )}{12 b^4 (a+b x)^2}+\frac {35 e^2 (-b d+a e)^{3/2} \tan ^{-1}\left (\frac {\sqrt {b} \sqrt {d+e x}}{\sqrt {-b d+a e}}\right )}{4 b^{9/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.07, size = 205, normalized size = 1.40
method | result | size |
derivativedivides | \(2 e^{2} \left (-\frac {-\frac {b \left (e x +d \right )^{\frac {3}{2}}}{3}+3 a e \sqrt {e x +d}-3 b d \sqrt {e x +d}}{b^{4}}+\frac {\frac {\left (-\frac {13}{8} a^{2} b \,e^{2}+\frac {13}{4} a \,b^{2} d e -\frac {13}{8} d^{2} b^{3}\right ) \left (e x +d \right )^{\frac {3}{2}}+\left (-\frac {11}{8} a^{3} e^{3}+\frac {33}{8} a^{2} b d \,e^{2}-\frac {33}{8} a \,b^{2} d^{2} e +\frac {11}{8} b^{3} d^{3}\right ) \sqrt {e x +d}}{\left (b \left (e x +d \right )+a e -b d \right )^{2}}+\frac {35 \left (a^{2} e^{2}-2 a b d e +b^{2} d^{2}\right ) \arctan \left (\frac {b \sqrt {e x +d}}{\sqrt {\left (a e -b d \right ) b}}\right )}{8 \sqrt {\left (a e -b d \right ) b}}}{b^{4}}\right )\) | \(205\) |
default | \(2 e^{2} \left (-\frac {-\frac {b \left (e x +d \right )^{\frac {3}{2}}}{3}+3 a e \sqrt {e x +d}-3 b d \sqrt {e x +d}}{b^{4}}+\frac {\frac {\left (-\frac {13}{8} a^{2} b \,e^{2}+\frac {13}{4} a \,b^{2} d e -\frac {13}{8} d^{2} b^{3}\right ) \left (e x +d \right )^{\frac {3}{2}}+\left (-\frac {11}{8} a^{3} e^{3}+\frac {33}{8} a^{2} b d \,e^{2}-\frac {33}{8} a \,b^{2} d^{2} e +\frac {11}{8} b^{3} d^{3}\right ) \sqrt {e x +d}}{\left (b \left (e x +d \right )+a e -b d \right )^{2}}+\frac {35 \left (a^{2} e^{2}-2 a b d e +b^{2} d^{2}\right ) \arctan \left (\frac {b \sqrt {e x +d}}{\sqrt {\left (a e -b d \right ) b}}\right )}{8 \sqrt {\left (a e -b d \right ) b}}}{b^{4}}\right )\) | \(205\) |
risch | \(-\frac {2 e^{2} \left (-b e x +9 a e -10 b d \right ) \sqrt {e x +d}}{3 b^{4}}-\frac {13 e^{4} \left (e x +d \right )^{\frac {3}{2}} a^{2}}{4 b^{3} \left (b e x +a e \right )^{2}}+\frac {13 e^{3} \left (e x +d \right )^{\frac {3}{2}} a d}{2 b^{2} \left (b e x +a e \right )^{2}}-\frac {13 e^{2} \left (e x +d \right )^{\frac {3}{2}} d^{2}}{4 b \left (b e x +a e \right )^{2}}-\frac {11 e^{5} \sqrt {e x +d}\, a^{3}}{4 b^{4} \left (b e x +a e \right )^{2}}+\frac {33 e^{4} \sqrt {e x +d}\, a^{2} d}{4 b^{3} \left (b e x +a e \right )^{2}}-\frac {33 e^{3} \sqrt {e x +d}\, a \,d^{2}}{4 b^{2} \left (b e x +a e \right )^{2}}+\frac {11 e^{2} \sqrt {e x +d}\, d^{3}}{4 b \left (b e x +a e \right )^{2}}+\frac {35 e^{4} \arctan \left (\frac {b \sqrt {e x +d}}{\sqrt {\left (a e -b d \right ) b}}\right ) a^{2}}{4 b^{4} \sqrt {\left (a e -b d \right ) b}}-\frac {35 e^{3} \arctan \left (\frac {b \sqrt {e x +d}}{\sqrt {\left (a e -b d \right ) b}}\right ) a d}{2 b^{3} \sqrt {\left (a e -b d \right ) b}}+\frac {35 e^{2} \arctan \left (\frac {b \sqrt {e x +d}}{\sqrt {\left (a e -b d \right ) b}}\right ) d^{2}}{4 b^{2} \sqrt {\left (a e -b d \right ) b}}\) | \(362\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.70, size = 489, normalized size = 3.35 \begin {gather*} \left [\frac {105 \, {\left ({\left (a b^{2} x^{2} + 2 \, a^{2} b x + a^{3}\right )} e^{3} - {\left (b^{3} d x^{2} + 2 \, a b^{2} d x + a^{2} b d\right )} e^{2}\right )} \sqrt {\frac {b d - a e}{b}} \log \left (\frac {2 \, b d + 2 \, \sqrt {x e + d} b \sqrt {\frac {b d - a e}{b}} + {\left (b x - a\right )} e}{b x + a}\right ) - 2 \, {\left (6 \, b^{3} d^{3} - {\left (8 \, b^{3} x^{3} - 56 \, a b^{2} x^{2} - 175 \, a^{2} b x - 105 \, a^{3}\right )} e^{3} - 2 \, {\left (40 \, b^{3} d x^{2} + 119 \, a b^{2} d x + 70 \, a^{2} b d\right )} e^{2} + 3 \, {\left (13 \, b^{3} d^{2} x + 7 \, a b^{2} d^{2}\right )} e\right )} \sqrt {x e + d}}{24 \, {\left (b^{6} x^{2} + 2 \, a b^{5} x + a^{2} b^{4}\right )}}, \frac {105 \, {\left ({\left (a b^{2} x^{2} + 2 \, a^{2} b x + a^{3}\right )} e^{3} - {\left (b^{3} d x^{2} + 2 \, a b^{2} d x + a^{2} b d\right )} e^{2}\right )} \sqrt {-\frac {b d - a e}{b}} \arctan \left (-\frac {\sqrt {x e + d} b \sqrt {-\frac {b d - a e}{b}}}{b d - a e}\right ) - {\left (6 \, b^{3} d^{3} - {\left (8 \, b^{3} x^{3} - 56 \, a b^{2} x^{2} - 175 \, a^{2} b x - 105 \, a^{3}\right )} e^{3} - 2 \, {\left (40 \, b^{3} d x^{2} + 119 \, a b^{2} d x + 70 \, a^{2} b d\right )} e^{2} + 3 \, {\left (13 \, b^{3} d^{2} x + 7 \, a b^{2} d^{2}\right )} e\right )} \sqrt {x e + d}}{12 \, {\left (b^{6} x^{2} + 2 \, a b^{5} x + a^{2} b^{4}\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 265 vs.
\(2 (124) = 248\).
time = 0.92, size = 265, normalized size = 1.82 \begin {gather*} \frac {35 \, {\left (b^{2} d^{2} e^{2} - 2 \, a b d e^{3} + a^{2} e^{4}\right )} \arctan \left (\frac {\sqrt {x e + d} b}{\sqrt {-b^{2} d + a b e}}\right )}{4 \, \sqrt {-b^{2} d + a b e} b^{4}} - \frac {13 \, {\left (x e + d\right )}^{\frac {3}{2}} b^{3} d^{2} e^{2} - 11 \, \sqrt {x e + d} b^{3} d^{3} e^{2} - 26 \, {\left (x e + d\right )}^{\frac {3}{2}} a b^{2} d e^{3} + 33 \, \sqrt {x e + d} a b^{2} d^{2} e^{3} + 13 \, {\left (x e + d\right )}^{\frac {3}{2}} a^{2} b e^{4} - 33 \, \sqrt {x e + d} a^{2} b d e^{4} + 11 \, \sqrt {x e + d} a^{3} e^{5}}{4 \, {\left ({\left (x e + d\right )} b - b d + a e\right )}^{2} b^{4}} + \frac {2 \, {\left ({\left (x e + d\right )}^{\frac {3}{2}} b^{6} e^{2} + 9 \, \sqrt {x e + d} b^{6} d e^{2} - 9 \, \sqrt {x e + d} a b^{5} e^{3}\right )}}{3 \, b^{9}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.14, size = 268, normalized size = 1.84 \begin {gather*} \frac {2\,e^2\,{\left (d+e\,x\right )}^{3/2}}{3\,b^3}-\frac {\sqrt {d+e\,x}\,\left (\frac {11\,a^3\,e^5}{4}-\frac {33\,a^2\,b\,d\,e^4}{4}+\frac {33\,a\,b^2\,d^2\,e^3}{4}-\frac {11\,b^3\,d^3\,e^2}{4}\right )+{\left (d+e\,x\right )}^{3/2}\,\left (\frac {13\,a^2\,b\,e^4}{4}-\frac {13\,a\,b^2\,d\,e^3}{2}+\frac {13\,b^3\,d^2\,e^2}{4}\right )}{b^6\,{\left (d+e\,x\right )}^2-\left (2\,b^6\,d-2\,a\,b^5\,e\right )\,\left (d+e\,x\right )+b^6\,d^2+a^2\,b^4\,e^2-2\,a\,b^5\,d\,e}+\frac {2\,e^2\,\left (3\,b^3\,d-3\,a\,b^2\,e\right )\,\sqrt {d+e\,x}}{b^6}+\frac {35\,e^2\,\mathrm {atan}\left (\frac {\sqrt {b}\,e^2\,{\left (a\,e-b\,d\right )}^{3/2}\,\sqrt {d+e\,x}}{a^2\,e^4-2\,a\,b\,d\,e^3+b^2\,d^2\,e^2}\right )\,{\left (a\,e-b\,d\right )}^{3/2}}{4\,b^{9/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________